import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/information_newsDetail_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/information_newsDetail_entity.g.dart';

@JsonSerializable()
class InformationNewsDetailEntity {
	List<InformationNewsDetailContentList>? contentList;
	String? createTime;
	String? id;
	int? realWatchNum;
	String? shelfTime;
	int? sort;
	int? status;
	int? topFlag;
	String? typeId;
	int? watchNum;

	InformationNewsDetailEntity();

	factory InformationNewsDetailEntity.fromJson(Map<String, dynamic> json) => $InformationNewsDetailEntityFromJson(json);

	Map<String, dynamic> toJson() => $InformationNewsDetailEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class InformationNewsDetailContentList {
	String? content;
	String? coverUrl;
	String? lang;
	String? newsDesc;
	String? title;

	InformationNewsDetailContentList();

	factory InformationNewsDetailContentList.fromJson(Map<String, dynamic> json) => $InformationNewsDetailContentListFromJson(json);

	Map<String, dynamic> toJson() => $InformationNewsDetailContentListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}